package web_type

import "github.com/gin-gonic/gin"

//路由
func Routers(e *gin.Engine) {
	v1 := e.Group(`/v1`)
	{
		//传递参数：parameters
		v1.GET(`/`, TestHandler)                         // 默认查询的接口
		v1.GET("/request", RequestDefaultRbHandler)      //  Query Default
		v1.GET(`/request/:parameters`, RequestRbHandler) //Query Msg
		v1.GET(`/request/list/:type`, QueryPageHandler)  // 微博表QueryPage
		v1.POST(`/request/fileOcr`, FileOcr)
	}
}
